package com.lmiot.xyclick.Util;

import com.lmiot.xyclick.Bean.InitFloatBean;
import com.lmiot.xyclick.Bean.SetFloatBean;
import org.greenrobot.eventbus.EventBus;

public class FloatManager {
    public static void show(InitFloatBean.FloatType floatType) {
        EventBus.getDefault().post(new SetFloatBean(true, floatType));
    }

    public static void hide(InitFloatBean.FloatType floatType) {
        EventBus.getDefault().post(new SetFloatBean(false, floatType));
    }
}
